//
//  StoresNearbyModel.h
//  TerritoryShopkeeper
//
//  Created by 李小龙 on 2017/12/19.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShopcartModel.h"

@interface StoresImgModel : NSObject

@property (nonatomic, copy) NSString *createtime;
@property (nonatomic, copy) NSString *gid;
@property (nonatomic, copy) NSString *giid;
@property (nonatomic, copy) NSString *giimg;
@end

@interface StoresGoodModel : NSObject

@property (nonatomic, copy) NSString *gid;      // 商品id
@property (nonatomic, copy) NSString *gimg;     // 商品图片
@property (nonatomic, copy) NSString *gname;    // 商品名称
@property (nonatomic, copy) NSString *gprice;   // 商品价格
@property (nonatomic, copy) NSString *goldprice;// 商品原价
// 型号
@property (nonatomic, copy) NSMutableArray<GoodAttributeModel *> *attribute;
@property (nonatomic, strong) NSMutableArray<GoodsAttributePriceModel *> *goodsattribute;
@property (nonatomic, strong) NSMutableArray<AttributeModel *> *twoattribute; // 属性

// 自己加的
@property (nonatomic, copy) NSString *gaid;     // 已选价格id（购物车用）
@property (nonatomic, copy) NSString *gcount;   // 该属性已选数量（购物车用）
@property (nonatomic, copy) NSString *selectAttribute; // 选择的属性（购物车用）
@property (nonatomic, copy) NSString *count;    // 已选总数量

//新添加hdy_20180607
@property (nonatomic,strong) NSMutableArray * g_color;  //颜色属性
@property (nonatomic,strong) NSMutableArray * g_price;  //价格组合
@property (nonatomic,strong) NSMutableArray * g_sku;    //sku规格
@property (nonatomic,strong) NSMutableArray * g_test;   //这是什么？


// 暂时没用到
@property (nonatomic, strong) NSMutableArray<StoresImgModel *> *goodsimg;
@property (nonatomic, copy) NSString *allgastock;
@property (nonatomic, copy) NSString *collectioncount;
@property (nonatomic, copy) NSString *coupon;
@property (nonatomic, copy) NSString *escore;
@property (nonatomic, copy) NSString *evaluate;
@property (nonatomic, copy) NSString *fccut;
@property (nonatomic, copy) NSString *fcfull;
@property (nonatomic, copy) NSString *freeshippingtype;
@property (nonatomic, copy) NSString *fullcut;
@property (nonatomic, copy) NSString *gbarcode;
@property (nonatomic, copy) NSString *gcid;
@property (nonatomic, copy) NSString *gdetails;
@property (nonatomic, copy) NSString *gendtime;
@property (nonatomic, copy) NSString *gextension;
@property (nonatomic, copy) NSString *ghomeimg;
@property (nonatomic, copy) NSString *gintegral;
@property (nonatomic, copy) NSString *gnumber; // 商品编号
@property (nonatomic, copy) NSString *gpromotionprice;
@property (nonatomic, copy) NSString *gseckill;
@property (nonatomic, copy) NSString *gseckillprice;
@property (nonatomic, copy) NSString *gstarttime;
@property (nonatomic, copy) NSString *gtcid;
@property (nonatomic, copy) NSString *gtrcid;
@property (nonatomic, copy) NSString *gweight;
@property (nonatomic, copy) NSString *isabroad;
@property (nonatomic, copy) NSString *iscollection;
@property (nonatomic, copy) NSString *isdiscount;
@property (nonatomic, copy) NSString *isfreeshipping;
@property (nonatomic, copy) NSString *isigoods;
@property (nonatomic, copy) NSString *isnew;
@property (nonatomic, copy) NSString *ispurchasing;
@property (nonatomic, copy) NSString *isshelves;
@property (nonatomic, copy) NSString *istj;
@property (nonatomic, copy) NSString *pgendtime;
@property (nonatomic, copy) NSString *pgnumber;
@property (nonatomic, copy) NSString *pgprice;
@property (nonatomic, copy) NSString *pgstarttime;
@property (nonatomic, copy) NSString *purchasinggoods;
@property (nonatomic, copy) NSString *salesvolume;
@property (nonatomic, copy) NSString *scid;
@property (nonatomic, copy) NSString *sid;
@property (nonatomic, copy) NSString *skid;
@property (nonatomic, copy) NSString *sktime;
@property (nonatomic, copy) NSString *suid;
@property (nonatomic, copy) NSString *supplyprice;
@property (nonatomic, copy) NSString *uid;
@end



@interface StoresNearbyModel : NSObject

@property (nonatomic, copy) NSString *scid;         // 一级分类id
@property (nonatomic, copy) NSString *sctitle;      // 一级分类名称
@property (nonatomic, copy) NSString *sid;          //
@property (nonatomic, strong) NSMutableArray<StoresGoodModel *> *goods; // 商品数组

@property (nonatomic, copy) NSString *number;   // 已选商品数量(自己加的)

@end
